.key {
    border: 1px solid #999; 
    background-color: #eee;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
    display: inline-flex;
    font-weight: bold;
    align-items: center;
    flex-direction: column; 
    font-size: 16px;
    padding: 20px;
    position: relative;
    margin: 10px;
    min-width: 130px;
}

.key span {
    color: black;
    position: absolute;
    top: -24px;
    left: 0; 
    width: 100%;
    font-size: 16px; 
}